home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Windows Expert
/
Windows Expert.iso
/
utility
/
start.zip
/
STARTUP.BAT
next >
Wrap
DOS Batch File
|
1990-11-27
|
1KB
|
68 lines
@ echo off
rem STARTUP: Windows Start-Up Compiler 1.00
rem by Kevin S. Bachus -- Copyright 1990. All Rights Reserved.
cls
echo STARTUP: Windows Start-Up Compiler
echo:
if "%1" == "" goto usage
set rle=
if exist %1 goto options
if not exist %1.rle goto norle
set rle=.rle
:options
if %2 == /E goto egainstall
if %2 == /e goto egainstall
:vgainstall
if not exist %2system\win.cnf goto nosupport
if not exist %2system\vgalogo.lgo goto nosupport
echo Creating new WIN.COM ...
copy /b %2system\win.cnf + %2system\vgalogo.lgo + %1%rle% %2win.com > nul
%2win
goto done
:egainstall
if not exist %3system\win.cnf goto nosupport
if not exist %3system\vgalogo.lgo goto nosupport
echo Creating new WIN.COM ...
copy /b %3system\win.cnf + %3system\egalogo.lgo + %1%rle% %3win.com > nul
%3win
goto done
:usage
echo Usage: STARTUP rleimage[.rle] [/e] [d:\winpath\]
echo:
echo rleimage is the name of the start-up screen to use
echo /e = EGA mode (optional)
echo d:\winpath\ = optional path where Windows is located
echo:
goto done
:norle
echo Could not find %1!
goto done
:nosupport
echo Could not find Windows Support Files! Check Windows path.
:done
set rle=
exit